﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Comment
/// </summary>
public class Comment
{
    private int comment_id;
    private int article_id;
    private string comment_name;
    private string comment_des;
    private string email;
    private bool status;
    #region Properties
    public string Email
    {
        get { return email; }
        set { email = value; }
    }
    public bool Status
    {
        get { return status; }
        set { status = value; }
    }

    public string Comment_des
    {
        get { return comment_des; }
        set { comment_des = value; }
    }
    public string Comment_name
    {
        get { return comment_name; }
        set { comment_name = value; }
    }

    public int Article_id
    {
        get { return article_id; }
        set { article_id = value; }
    }
    public int Comment_id
    {
        get { return comment_id; }
        set { comment_id = value; }
    }


#endregion
    public Comment()
	{
        comment_id = 0;
        article_id = 0;
        comment_name = "";
        comment_des = "";
        email = "";
        status = false;
    }
    public Comment(int comment_id, int article_id, string comment_name, string comment_des, string email, bool status) 
    {
        this.comment_id = comment_id;
        this.comment_des = comment_des;
        this.article_id = article_id;
        this.comment_name = comment_name;
        this.email = email;
        this.status = status;
    }
    
}